import request from '@/utils/request'

const videoSettingApi = {

    /**
     * 视频配置详情
     */
    detail(): Promise<any> {
        return request.get({
            url: '/apply/video/setting/detail'
        })
    },

    /**
     * 视频配置保存
     */
    save(params: {
        luma: any;
        zhipu: any;
    }): Promise<any> {
        return request.post({
            url: '/apply/video/setting/save',
            params
        })
    }
}

export default videoSettingApi
